package com.example.bbs.bean;

public class Notice {
    private String time;
    private int id;
    private String content;
    private int userId;
    private boolean readOr;

    public Notice() {
        this("", "", -1, false);
    }

    public Notice(String time, String content, int userId, boolean readOr){
        this.time = time;
        this.content = content;
        this.userId = userId;
        this.readOr = readOr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public boolean isReadOr() {
        return readOr;
    }

    public void setReadOr(boolean readOr) {
        this.readOr = readOr;
    }
}
